GuiXT
ScriptGuiXT
// Build up OData URL (here: OData Test service)
Set V[url] _
"http://services.odata.org/V4/Northwind/Northwind.svc/Customers"
// table to be filled via OData
CreateTable V[customertable] company city country
// Read Northwind customers via OData service
CopyText fromFile="&V[url]" toText="cust"
// Fill table
CallJS odata_customers "customertable" "cust"
// Display customer table
Table (1,1) (15,101) title="Northwind Customers" -singleRowSelection _
name="customertable" fixedColumns=3
Column "Company" size=40 name="company"
Column "City" size=30 name="city"
Column "Country" size=20 name="country"
|